import request from '@/utils/request'

export function getGbTicket(query) {
    return request({
        url: '/gbTicket/page',
        method: 'get',
        params: query,
    })
}

export function DelGbTicket(data) {
    return request({
        url: '/gbTicket/batchDelete',
        method: 'post',
        data,
    })
}

// 更细Remark
export function UpdateRemark() {
    return request({
        url: '/gbTicket/remark',
        method: 'get',
    })
}

// 退票
export function gbTicketRefund(data) {
    return request({
        url: `/gbTicket/refund`,
        method: 'post',
        data,
    })
}

// 总人数
export function outTicketTotal() {
    return request({
        url: `/gbTicket/outTicketTotal`,
        method: 'get',
        params: {
            status: null,
        },
    })
}
